﻿using System;
using System.Collections.Generic;

namespace CodeContrib.Caching
{
	public interface ICache
	{
		void Add(string key, object value, IEnumerable<string> dependencies, TimeSpan slidingExpiration, DateTime absoluteExpiration);
		bool Find(string key, out object value);
		void Remove(string key);
		void Remove(IEnumerable<string> keys);
	}
}